package com.logicalthinking.socialmall.common.vo.requestVo.clientUser;

import com.github.chenlijia1111.utils.core.annos.PropertyCheck;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 微信小程序登陆参数
 * @author Chen LiJia
 * @since 2020/2/18
 */
@ApiModel
@Setter
@Getter
public class WechatLoginParams {

    /**
     * openId
     */
    @ApiModelProperty(value = "openId")
    @PropertyCheck(name = "openId")
    private String openId;

    /**
     * accessToken 接口调用凭证
     */
    @ApiModelProperty(value = "accessToken 接口调用凭证")
    @PropertyCheck(name = "accessToken")
    private String accessToken;

    /**
     * 加密内容
     * AES 加密
     */
    @ApiModelProperty(value = "encryptedData 加密内容")
    @PropertyCheck(name = "encryptedData")
    private String encryptedData;

    /**
     * sessionKey 加密密钥
     */
    @ApiModelProperty(value = "sessionKey 加密密钥")
    @PropertyCheck(name = "sessionKey")
    private String sessionKey;

    /**
     * iv 加密向量
     */
    @ApiModelProperty(value = "iv 加密向量")
    @PropertyCheck(name = "iv")
    private String iv;

}
